package com.wcity.manage.service.impl;

import com.wcity.manage.dao.dal.model.PageModel;
import com.wcity.manage.dao.mapper.AnnSendBlockMapper;
import com.wcity.manage.dao.model.Block;
import com.wcity.manage.service.announcement.AnnSendBlockService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 查看已发送公告的小区
 * Created by zm on 2016/12/16.
 */
@Service
public class AnnSendBlockServiceImpl implements AnnSendBlockService {

    @Resource private AnnSendBlockMapper annSendBlockMapper;
    /**
     * 查看发送的小区名称
     * @param pageModel
     * @return
     */
    @Override
    public List<Block> sendBlock(PageModel pageModel) {
        return annSendBlockMapper.findListPage(pageModel);
    }
}
